package com.egaleye.mqbus.core.listener;

import com.egaleye.core.context.EgaleyeApplicationContext;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;

public class MQListener implements ApplicationListener<ContextRefreshedEvent> {

    @Override
    public void onApplicationEvent(ContextRefreshedEvent event) {
        EgaleyeApplicationContext.getBean("test");
    }

}
